[INFO] cloning repository https://github.com/nimaaskarian/bingewatcher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nimaaskarian/bingewatcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnimaaskarian%2Fbingewatcher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnimaaskarian%2Fbingewatcher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 822b3a232b5e03c32820d2cc1301657761c7f28b
[INFO] fixing nimaaskarian/bingewatcher against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnimaaskarian%2Fbingewatcher" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nimaaskarian/bingewatcher
[INFO] finished tweaking git repo https://github.com/nimaaskarian/bingewatcher
[INFO] tweaked toml for git repo https://github.com/nimaaskarian/bingewatcher written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nimaaskarian/bingewatcher on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nimaaskarian/bingewatcher already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 44f700fd438899586c17a1dc7d84de40f77fdce441134bbe25df2f55e2a5696d
[INFO] running `Command { std: "docker" "start" "44f700fd438899586c17a1dc7d84de40f77fdce441134bbe25df2f55e2a5696d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44f700fd438899586c17a1dc7d84de40f77fdce441134bbe25df2f55e2a5696d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44f700fd438899586c17a1dc7d84de40f77fdce441134bbe25df2f55e2a5696d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "44f700fd438899586c17a1dc7d84de40f77fdce441134bbe25df2f55e2a5696d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]     Checking siphasher v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking anstyle v1.0.4
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]     Checking clap_lex v0.7.1
[INFO] [stderr]     Checking phf_shared v0.11.3
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking unicode-bidi v0.3.14
[INFO] [stderr]     Checking servo_arc v0.4.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]     Checking rustls-pki-types v1.10.1
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking unicode-width v0.2.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking clap_builder v4.5.10
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling selectors v0.31.0
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking getopts v0.2.23
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking ego-tree v0.10.0
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking is-terminal v0.4.15
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking oorandom v11.1.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling syn v2.0.47
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling web_atoms v0.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.4.7
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling clap_derive v4.5.8
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling match_token v0.35.0
[INFO] [stderr]     Checking phf v0.11.3
[INFO] [stderr]     Checking cssparser v0.35.0
[INFO] [stderr]     Checking hyper v1.5.2
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking clap v4.5.10
[INFO] [stderr]     Checking clap_complete v4.5.9
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking serde v1.0.203
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking string_cache v0.8.9
[INFO] [stderr]     Checking serde_json v1.0.117
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking reqwest v0.12.12
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking markup5ever v0.35.0
[INFO] [stderr]     Checking html5ever v0.35.0
[INFO] [stderr]     Checking scraper v0.24.0
[INFO] [stderr]     Checking bw v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/utils.rs (2 fixes)
[INFO] [stdout] warning: `impl FnMut(DirEntry) -> std::option::Option<(Serie, PathBuf)>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> src/utils.rs:18:130
[INFO] [stdout]    |
[INFO] [stdout] 18 | ...rMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> src/utils.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, imp...
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]   --> src/utils.rs:18:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, imp...
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout] 18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/cli.rs (5 fixes)
[INFO] [stdout] warning: `impl FnMut(DirEntry) -> std::option::Option<(serie::Serie, PathBuf)>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> src/utils.rs:18:130
[INFO] [stdout]    |
[INFO] [stdout] 18 | ...rMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> src/utils.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, imp...
[INFO] [stdout]    |                               ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]   --> src/utils.rs:18:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, imp...
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout] 18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating benches/bench_series.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed benches/bench_series.rs (6 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.07s
[INFO] [stderr] crater-edition-check: bw v1.0.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking bw v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `fmt::Display` and `ops::Index`
[INFO] [stdout]  --> src/serie.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fmt::Display, fs::{self, File}, io::{self, Write}, ops::Index, path::{Path, PathBuf}, str::FromStr
[INFO] [stdout]   |     ^^^^^^^^^^^^                                       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::serie::season::Bits`
[INFO] [stdout]   --> src/serie.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::serie::season::Bits;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::Display` and `ops::Index`
[INFO] [stdout]  --> src/serie.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fmt::Display, fs::{self, File}, io::{self, Write}, ops::Index, path::{Path, PathBuf}, str::FromStr
[INFO] [stdout]   |     ^^^^^^^^^^^^                                       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::serie::season::Bits`
[INFO] [stdout]   --> src/serie.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::serie::season::Bits;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/cli.rs:143:40
[INFO] [stdout]     |
[INFO] [stdout] 143 |                   Include::NoFinished => $self.$func(&mut $series.by_ref().filter(|s_p| s_p.0.is_not_finished()) $(, $arg)*),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |                                                     --------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 193 | /                     call_series!(
[INFO] [stdout] 194 | |                         self,
[INFO] [stdout] 195 | |                         series,
[INFO] [stdout] 196 | |                         add_online,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |                         files_empty
[INFO] [stdout] 201 | |                     );
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 230 |       }
[INFO] [stdout]     |       - immutable borrow might be used here, when `series` is dropped and runs the destructor for type `FilterMap<Flatten<ReadDir>, impl FnMut(DirEntry) -> std::option::Option<(Serie, PathBuf)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/cli.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 159 | |             let name = path.file_name().unwrap().to_str().unwrap();
[INFO] [stdout] 160 | |             match (hidden, &search) {
[INFO] [stdout] 161 | |                 (true, Some(search)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |         }).expect("Couldn't open dir");
[INFO] [stdout]     | |__________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/utils.rs:18:46
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, im...
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `call_series` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/utils.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout]  18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]  18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/cli.rs:144:38
[INFO] [stdout]     |
[INFO] [stdout] 144 |                   Include::Finished => $self.$func(&mut $series.by_ref().filter(|s_p| s_p.0.is_finished()) $(, $arg)*),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |                                                     --------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 193 | /                     call_series!(
[INFO] [stdout] 194 | |                         self,
[INFO] [stdout] 195 | |                         series,
[INFO] [stdout] 196 | |                         add_online,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |                         files_empty
[INFO] [stdout] 201 | |                     );
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 230 |       }
[INFO] [stdout]     |       - immutable borrow might be used here, when `series` is dropped and runs the destructor for type `FilterMap<Flatten<ReadDir>, impl FnMut(DirEntry) -> std::option::Option<(Serie, PathBuf)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/cli.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 159 | |             let name = path.file_name().unwrap().to_str().unwrap();
[INFO] [stdout] 160 | |             match (hidden, &search) {
[INFO] [stdout] 161 | |                 (true, Some(search)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |         }).expect("Couldn't open dir");
[INFO] [stdout]     | |__________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/utils.rs:18:46
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, im...
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `call_series` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/utils.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout]  18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]  18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/cli.rs:145:33
[INFO] [stdout]     |
[INFO] [stdout] 145 |                   Include::All => $self.$func(&mut $series.by_ref() $(, $arg)*),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |                                                     --------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 193 | /                     call_series!(
[INFO] [stdout] 194 | |                         self,
[INFO] [stdout] 195 | |                         series,
[INFO] [stdout] 196 | |                         add_online,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |                         files_empty
[INFO] [stdout] 201 | |                     );
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 230 |       }
[INFO] [stdout]     |       - immutable borrow might be used here, when `series` is dropped and runs the destructor for type `FilterMap<Flatten<ReadDir>, impl FnMut(DirEntry) -> std::option::Option<(Serie, PathBuf)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/cli.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 159 | |             let name = path.file_name().unwrap().to_str().unwrap();
[INFO] [stdout] 160 | |             match (hidden, &search) {
[INFO] [stdout] 161 | |                 (true, Some(search)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |         }).expect("Couldn't open dir");
[INFO] [stdout]     | |__________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/utils.rs:18:46
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, im...
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `call_series` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/utils.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout]  18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]  18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/cli.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |               $self.$func(paths.iter_mut().flat_map(|entry| Serie::from_file(entry).map(|serie| (serie, std::mem::take(entry)))) $(, $arg)*)
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |                                                     --------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 193 | /                     call_series!(
[INFO] [stdout] 194 | |                         self,
[INFO] [stdout] 195 | |                         series,
[INFO] [stdout] 196 | |                         add_online,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |                         files_empty
[INFO] [stdout] 201 | |                     );
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 230 |       }
[INFO] [stdout]     |       - immutable borrow might be used here, when `series` is dropped and runs the destructor for type `FilterMap<Flatten<ReadDir>, impl FnMut(DirEntry) -> std::option::Option<(Serie, PathBuf)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/cli.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 159 | |             let name = path.file_name().unwrap().to_str().unwrap();
[INFO] [stdout] 160 | |             match (hidden, &search) {
[INFO] [stdout] 161 | |                 (true, Some(search)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |         }).expect("Couldn't open dir");
[INFO] [stdout]     | |__________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/utils.rs:18:46
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, im...
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `call_series` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/utils.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout]  18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]  18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:338:14
[INFO] [stdout]     |
[INFO] [stdout] 338 |         for (mut serie, path) in series {
[INFO] [stdout]     |              ----^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/cli.rs:143:40
[INFO] [stdout]     |
[INFO] [stdout] 143 |                   Include::NoFinished => $self.$func(&mut $series.by_ref().filter(|s_p| s_p.0.is_not_finished()) $(, $arg)*),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |                                                     --------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 193 | /                     call_series!(
[INFO] [stdout] 194 | |                         self,
[INFO] [stdout] 195 | |                         series,
[INFO] [stdout] 196 | |                         add_online,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |                         files_empty
[INFO] [stdout] 201 | |                     );
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 230 |       }
[INFO] [stdout]     |       - immutable borrow might be used here, when `series` is dropped and runs the destructor for type `FilterMap<Flatten<ReadDir>, impl FnMut(DirEntry) -> std::option::Option<(serie::Serie, PathBuf)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/cli.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 159 | |             let name = path.file_name().unwrap().to_str().unwrap();
[INFO] [stdout] 160 | |             match (hidden, &search) {
[INFO] [stdout] 161 | |                 (true, Some(search)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |         }).expect("Couldn't open dir");
[INFO] [stdout]     | |__________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/utils.rs:18:46
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, im...
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `call_series` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/utils.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout]  18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]  18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/cli.rs:144:38
[INFO] [stdout]     |
[INFO] [stdout] 144 |                   Include::Finished => $self.$func(&mut $series.by_ref().filter(|s_p| s_p.0.is_finished()) $(, $arg)*),
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |                                                     --------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 193 | /                     call_series!(
[INFO] [stdout] 194 | |                         self,
[INFO] [stdout] 195 | |                         series,
[INFO] [stdout] 196 | |                         add_online,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |                         files_empty
[INFO] [stdout] 201 | |                     );
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 230 |       }
[INFO] [stdout]     |       - immutable borrow might be used here, when `series` is dropped and runs the destructor for type `FilterMap<Flatten<ReadDir>, impl FnMut(DirEntry) -> std::option::Option<(serie::Serie, PathBuf)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/cli.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 159 | |             let name = path.file_name().unwrap().to_str().unwrap();
[INFO] [stdout] 160 | |             match (hidden, &search) {
[INFO] [stdout] 161 | |                 (true, Some(search)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |         }).expect("Couldn't open dir");
[INFO] [stdout]     | |__________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/utils.rs:18:46
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, im...
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `call_series` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/utils.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout]  18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]  18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/cli.rs:145:33
[INFO] [stdout]     |
[INFO] [stdout] 145 |                   Include::All => $self.$func(&mut $series.by_ref() $(, $arg)*),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |                                                     --------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 193 | /                     call_series!(
[INFO] [stdout] 194 | |                         self,
[INFO] [stdout] 195 | |                         series,
[INFO] [stdout] 196 | |                         add_online,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |                         files_empty
[INFO] [stdout] 201 | |                     );
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 230 |       }
[INFO] [stdout]     |       - immutable borrow might be used here, when `series` is dropped and runs the destructor for type `FilterMap<Flatten<ReadDir>, impl FnMut(DirEntry) -> std::option::Option<(serie::Serie, PathBuf)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/cli.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 159 | |             let name = path.file_name().unwrap().to_str().unwrap();
[INFO] [stdout] 160 | |             match (hidden, &search) {
[INFO] [stdout] 161 | |                 (true, Some(search)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |         }).expect("Couldn't open dir");
[INFO] [stdout]     | |__________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/utils.rs:18:46
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, im...
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `call_series` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/utils.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout]  18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]  18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable
[INFO] [stdout]    --> src/cli.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |               $self.$func(paths.iter_mut().flat_map(|entry| Serie::from_file(entry).map(|serie| (serie, std::mem::take(entry)))) $(, $arg)*)
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |                                                     --------------- immutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 193 | /                     call_series!(
[INFO] [stdout] 194 | |                         self,
[INFO] [stdout] 195 | |                         series,
[INFO] [stdout] 196 | |                         add_online,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |                         files_empty
[INFO] [stdout] 201 | |                     );
[INFO] [stdout]     | |_____________________- in this macro invocation
[INFO] [stdout] ...
[INFO] [stdout] 230 |       }
[INFO] [stdout]     |       - immutable borrow might be used here, when `series` is dropped and runs the destructor for type `FilterMap<Flatten<ReadDir>, impl FnMut(DirEntry) -> std::option::Option<(serie::Serie, PathBuf)>>`
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/cli.rs:158:26
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let mut series = utils::series_dir_reader(&self.directory, move |path| {
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 159 | |             let name = path.file_name().unwrap().to_str().unwrap();
[INFO] [stdout] 160 | |             match (hidden, &search) {
[INFO] [stdout] 161 | |                 (true, Some(search)) => {
[INFO] [stdout] ...   |
[INFO] [stdout] 174 | |         }).expect("Couldn't open dir");
[INFO] [stdout]     | |__________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/utils.rs:18:46
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, im...
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `call_series` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/utils.rs:18:25
[INFO] [stdout]     |
[INFO] [stdout]  18 - pub fn series_dir_reader(dir: &Path, filter: impl Fn(&PathBuf) -> bool) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)>>>
[INFO] [stdout]  18 + pub fn series_dir_reader<T: Fn(&PathBuf) -> bool>(dir: &Path, filter: T) -> io::Result<FilterMap<std::iter::Flatten<fs::ReadDir>, impl FnMut(fs::DirEntry) -> Option<(Serie, PathBuf)> + use<T>>>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cli.rs:338:14
[INFO] [stdout]     |
[INFO] [stdout] 338 |         for (mut serie, path) in series {
[INFO] [stdout]     |              ----^^^^^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bw` (lib) due to 4 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bw` (lib test) due to 4 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "44f700fd438899586c17a1dc7d84de40f77fdce441134bbe25df2f55e2a5696d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44f700fd438899586c17a1dc7d84de40f77fdce441134bbe25df2f55e2a5696d", kill_on_drop: false }`
[INFO] [stdout] 44f700fd438899586c17a1dc7d84de40f77fdce441134bbe25df2f55e2a5696d
